using System;
using System.Collections.Generic;
using System.Text;
using Xeml.Document;
using Xeml.Document.Contracts;

namespace Xeml.Sampling
{
    public abstract class ColumnEmitter
    {
        protected string name;
        protected Dictionary<string, Column> _columns;
      
        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                this.name = value;
            }
        }

        public Dictionary<string,Column> Columns
        {
            get
            {
                return this._columns;
            }
          
        }

        public ColumnEmitter()
        {
            _columns = new Dictionary<string, Column>();
        }


        public abstract void Emit(IDocument xemlDoc);
    }
}
